﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
    CodeFile="UserUpdate.aspx.cs" Inherits="UserUpdate" %>

<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .style1
        {
            width: 25%;
            text-align: right;
        }
        .style2
        {
            width: 25%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="MainContent">
    <h1 class="DemoTitle">
        用户信息修改
    </h1>
    <div id="DemoArea">
        <div class="Spacer" style="height: 14px;">
            <dx:ASPxPanel ID="ASPxPanel1" runat="server" Width="800px">
                <PanelCollection>
                    <dx:PanelContent>
                        <table style="width: 100%;">
                            <tr>
                                <td class="style1">
                                    用户名：
                                </td>
                                <td class="style2">
                                    <dx:ASPxTextBox ID="txtNames" runat="server" Width="100%" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    </dx:ASPxTextBox>
                                </td>
                                <td class="style1">
                                    所属城区：
                                </td>
                                <td class="style2">
                                    <dx:ASPxComboBox ID="cmdCommunitys" runat="server" Width="100%" DataSourceID="SqlDataSource1"
                                        TextField="Community_Name" ValueField="Community_ID" ValueType="System.String"
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                        Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                        </LoadingPanelImage>
                                        <LoadingPanelStyle ImageSpacing="5px">
                                        </LoadingPanelStyle>
                                    </dx:ASPxComboBox>
                                </td>
                                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ManagerConnectionString %>"
                                    SelectCommand="select * from dbo.Community where Community_ID =  RIGHT('00'+CAST(Community_ID AS VARCHAR(2)),2) order by Community_ID">
                                </asp:SqlDataSource>
                            </tr>
                            <tr>
                                <td class="style1">
                                    登录名：
                                </td>
                                <td class="style2">
                                    <dx:ASPxTextBox ID="txtLoginnames" runat="server" Width="100%" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    </dx:ASPxTextBox>
                                </td>
                                <td class="style1">
                                    密码：
                                </td>
                                <td class="style2">
                                    <dx:ASPxTextBox ID="txtPsws" runat="server" Width="100%" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    </dx:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="style1">
                                    联系电话：
                                </td>
                                <td class="style2">
                                    <dx:ASPxTextBox ID="txtPhones" runat="server" Width="100%" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td align="right">
                                    <dx:ASPxButton ID="btnOK1" runat="server" Text="修 改" OnClick="btnOK1_Click1" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    </dx:ASPxButton>
                                </td>
                                <td>
                                    <dx:ASPxButton ID="btnCancel1" runat="server" Text="取 消" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                        CssPostfix="Office2010Blue" OnClick="btnCancel1_Click" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    </dx:ASPxButton>
                                </td>
                            </tr>
                        </table>
                    </dx:PanelContent>
                </PanelCollection>
            </dx:ASPxPanel>
        </div>
    </div>
</asp:Content>
